package com.joysuch.wwyt.list.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author: JamesZY
 * @date: 2021/6/16
 * @description:清单工作查询条件bean
 */
@Data
public class BpListBizWorkQueryBean {
    @NotNull
    private Integer page;

    @NotNull
    private Integer size;

    private String listCodeOrName;

    private String userCodeOrName;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始日期")
    private Date startDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束日期")
    private Date endDate;
}
